﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Aplicacion.admin._default" %>

<!DOCTYPE HTML>
<html lang="en">
<head runat="server">
<title>Adminique - admin template</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="/Contenido/css/style.css">
<!--[if lte IE 8]>
<script type="text/javascript" src="js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/Contenido/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="/Contenido/js/cufon-yui.js"></script>
<script type="text/javascript" src="/Contenido/js/Delicious_500.font.js"></script>
<script type="text/javascript">
    $(function () {
        Cufon.replace('#site-title');
        $('.msg').click(function () {
            $(this).fadeTo('slow', 0);
            $(this).slideUp(341);
        });
    });
</script>
<style>
    .errorValidacion
    {
       padding-left: 10px;   
        
    }
</style>
</head>
<body>

<header id="top">
	<div class="container_12 clearfix">
		<div id="logo" class="grid_12">
			<!-- replace with your website title or logo -->
			<a id="site-title">
                <span>Iniciar</span> Sesion -
                <span>Secretaria de Informatica y Telecomunicaciones</span>
                </a>
		</div>
	</div>
</header>

<div id="login" class="box">
	<h2>Iniciar Sesion</h2>
	<section>
    <!-- MENSAJE DE ERROR -->
        <%= Session["flash"] %>
                <% Session["flash"] = null; %>
		<form action="" method="post" runat="server" class="formulario" >
			<dl>
				<dt><label for="txtLoginUsuario">Usuario</label>
                <asp:RequiredFieldValidator ID="txtUsuarioRequerido" 
                        ControlToValidate="txtLoginUsuario" CssClass="errorValidacion"
                    runat="server" ErrorMessage="* Campo Requerido" Display="Dynamic"></asp:RequiredFieldValidator></dt>
				<dd>
                <asp:TextBox ID="txtLoginUsuario" runat="server" ClientIDMode="Static"></asp:TextBox>
                </dd>
			
				<dt><label for="adminpassword">Contraseña</label>
                <asp:RequiredFieldValidator ID="txtPasswordRequerido" 
                        ControlToValidate="txtLoginPassword" CssClass="errorValidacion"
                    runat="server" ErrorMessage="* Campo Requerido"></asp:RequiredFieldValidator>
                </dt>
				<dd><asp:TextBox ID="txtLoginPassword" runat="server" TextMode="Password" ClientIDMode="Static"></asp:TextBox></dd>
			</dl>
			<p>
                <asp:Button ID="btnLogin" runat="server" OnClick="BtnLoginClick" Text="Iniciar Sesion"
                    CssClass="button gray" />
			</p>
		</form>
	</section>
</div>

</body>
</html>